package org.cypress.rtpack.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.cypress.rtpack.entity.PointHistory;

/**
 * 点位历史记录Mapper接口
 * @author getty
 */
public interface PointHistoryMapper extends BaseMapper<PointHistory> {
    /**
     * 根据描述模糊分页查询
     * @param page 分页参数
     * @param description 描述
     * @return 分页结果
     */
    IPage<PointHistory> pageByDescription(Page<PointHistory> page, @Param("description") String description);
}
